xml = Builder::XmlMarkup.new
xml.graph(:caption=>'test results', :subCaption=>'ByQuantity', :pieSliceDepth=>'30',:showNames=>'1', 
    :decimalPrecision=>'0', :formatNumberScale=>'0', :numberSuffix=>' Units') do
	for result in results
		xml.set(:name=>item[:factory_name],:value=>item[:factory_output])
	end
end
